package com.atguigu.model.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 日历表
 * </p>
 *
 * @author atguigu
 * @since 2024-06-19
 */
@Data
@ApiModel(description = "日历表")
@TableName("sys_calendar")
public class SysCalendar implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "日期")
    @TableField("sys_date")
    private String sysDate;

    @ApiModelProperty(value = "周几")
    @TableField("sys_week")
    private String sysWeek;

    @ApiModelProperty(value = "是否为节假日")
    @TableField("is_holiday")
    private String isHoliday;

    @ApiModelProperty(value = "节假日")
    private String holiday;

    @ApiModelProperty(value = "是否为周末")
    @TableField("is_weekend")
    private String isWeekend;

    @ApiModelProperty(value = "公历日")
    private String day;

    @ApiModelProperty(value = "农历日")
    private String day2;

    @TableField("create_time")
    private Date createTime;

    @TableField("update_time")
    private Date updateTime;

    @ApiModelProperty(value = "月份")
    @TableField("sys_month")
    private String sysMonth;
}
